#include "friendsplugin.h"
#include "friendstab.h"
#include <QVariant>
#include <QString>
#include <QVBoxLayout>

#include <QtPlugin>

FriendsTab * FriendsPlugin::generateTab() {
    FriendsTab * tab = new FriendsTab();

    return tab;
}

WhalePluginStarter * FriendsPlugin::generateStarter() {
    WhalePluginStarter * starter = new WhalePluginStarter();
    starter->setIcon( QIcon( ":/images/user_gray.png" ) );
    return starter;
}

FriendsTab * FriendsPlugin::restoreTab( QVariant constructors ) {
    return this->generateTab();
}

QVariant FriendsPlugin::constructors( WhaleTabBase * tab ) {
    return QVariant( QString( "" ) );
}

QString FriendsPlugin::name() {
    return QString( "friendsplugin" );
}

Q_EXPORT_PLUGIN2( friendsplugin, FriendsPlugin );
